﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebSocketServer.models
{
    public class Friend
    {
        public string Username { get; set; }
        public bool IsIgnored { get; set; }
        /// <summary>
        /// True if the contact is not in your friends list, but is added through a group membership.
        /// </summary>
        public bool IsGroupContact { get; set; }

        public Friend(string username, bool isIgnored,bool isGroupContact)
        {
            this.Username = username;
            this.IsIgnored = isIgnored;
            this.IsGroupContact = isGroupContact;
        }
    }
}
